<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: IRAirtonAc Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IRremoteESP8266
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classIRAirtonAc-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">IRAirtonAc Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class for handling detailed Airton 56-bit A/C messages.  
 <a href="classIRAirtonAc.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ir__Airton_8h_source.html">ir_Airton.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRAirtonAc:</div>
<div class="dyncontent">
<div class="center"><img src="classIRAirtonAc__coll__graph.png" border="0" usemap="#IRAirtonAc_coll__map" alt="Collaboration graph"/></div>
<map name="IRAirtonAc_coll__map" id="IRAirtonAc_coll__map">
<area shape="rect" title="Class for handling detailed Airton 56&#45;bit A/C messages." alt="" coords="51,95,141,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="5,5,72,32"/>
<area shape="rect" href="unionAirtonProtocol.html" title="Native representation of a Airton 56 A/C message." alt="" coords="96,5,211,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae18b6d0dbbc800ae7c6e840862da6997"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#ae18b6d0dbbc800ae7c6e840862da6997">IRAirtonAc</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:ae18b6d0dbbc800ae7c6e840862da6997"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor.  <a href="classIRAirtonAc.html#ae18b6d0dbbc800ae7c6e840862da6997">More...</a><br /></td></tr>
<tr class="separator:ae18b6d0dbbc800ae7c6e840862da6997"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c9b9266de7f175acef0b1855d81a890"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a9c9b9266de7f175acef0b1855d81a890">stateReset</a> (void)</td></tr>
<tr class="memdesc:a9c9b9266de7f175acef0b1855d81a890"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the internals of the object to a known good state.  <a href="classIRAirtonAc.html#a9c9b9266de7f175acef0b1855d81a890">More...</a><br /></td></tr>
<tr class="separator:a9c9b9266de7f175acef0b1855d81a890"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa3029fd8291df45bc56c5b51b53ed83"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#aaa3029fd8291df45bc56c5b51b53ed83">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#a1b8ca81fc8970bd3263eda3fb332c152">kAirtonDefaultRepeat</a>)</td></tr>
<tr class="memdesc:aaa3029fd8291df45bc56c5b51b53ed83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message.  <a href="classIRAirtonAc.html#aaa3029fd8291df45bc56c5b51b53ed83">More...</a><br /></td></tr>
<tr class="separator:aaa3029fd8291df45bc56c5b51b53ed83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad66e28b40332cca757aecd471202c5fd"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#ad66e28b40332cca757aecd471202c5fd">calibrate</a> (void)</td></tr>
<tr class="memdesc:ad66e28b40332cca757aecd471202c5fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform.  <a href="classIRAirtonAc.html#ad66e28b40332cca757aecd471202c5fd">More...</a><br /></td></tr>
<tr class="separator:ad66e28b40332cca757aecd471202c5fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af41739e2c3858eb7816ed1cb69756f67"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#af41739e2c3858eb7816ed1cb69756f67">begin</a> (void)</td></tr>
<tr class="memdesc:af41739e2c3858eb7816ed1cb69756f67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message.  <a href="classIRAirtonAc.html#af41739e2c3858eb7816ed1cb69756f67">More...</a><br /></td></tr>
<tr class="separator:af41739e2c3858eb7816ed1cb69756f67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c56f9a9b21c16f5b6e59836a626676c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a6c56f9a9b21c16f5b6e59836a626676c">on</a> (void)</td></tr>
<tr class="memdesc:a6c56f9a9b21c16f5b6e59836a626676c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state to have the power on.  <a href="classIRAirtonAc.html#a6c56f9a9b21c16f5b6e59836a626676c">More...</a><br /></td></tr>
<tr class="separator:a6c56f9a9b21c16f5b6e59836a626676c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a723aa47afa0ee2159b2a54eb182259"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a4a723aa47afa0ee2159b2a54eb182259">off</a> (void)</td></tr>
<tr class="memdesc:a4a723aa47afa0ee2159b2a54eb182259"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state to have the power off.  <a href="classIRAirtonAc.html#a4a723aa47afa0ee2159b2a54eb182259">More...</a><br /></td></tr>
<tr class="separator:a4a723aa47afa0ee2159b2a54eb182259"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fd0cff12f8169bd2785ea84fa4af969"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a1fd0cff12f8169bd2785ea84fa4af969">setPower</a> (const bool <a class="el" href="classIRAirtonAc.html#a6c56f9a9b21c16f5b6e59836a626676c">on</a>)</td></tr>
<tr class="memdesc:a1fd0cff12f8169bd2785ea84fa4af969"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state to have the desired power.  <a href="classIRAirtonAc.html#a1fd0cff12f8169bd2785ea84fa4af969">More...</a><br /></td></tr>
<tr class="separator:a1fd0cff12f8169bd2785ea84fa4af969"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e356b2ae1f37630ba4372dc15308244"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a9e356b2ae1f37630ba4372dc15308244">getPower</a> (void) const</td></tr>
<tr class="memdesc:a9e356b2ae1f37630ba4372dc15308244"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the power setting from the internal state.  <a href="classIRAirtonAc.html#a9e356b2ae1f37630ba4372dc15308244">More...</a><br /></td></tr>
<tr class="separator:a9e356b2ae1f37630ba4372dc15308244"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18a4f1240d74614d9773069530f59bdc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a18a4f1240d74614d9773069530f59bdc">setTemp</a> (const uint8_t degrees)</td></tr>
<tr class="memdesc:a18a4f1240d74614d9773069530f59bdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature.  <a href="classIRAirtonAc.html#a18a4f1240d74614d9773069530f59bdc">More...</a><br /></td></tr>
<tr class="separator:a18a4f1240d74614d9773069530f59bdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9860a511fce48ce377c734435fdfbc6c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a9860a511fce48ce377c734435fdfbc6c">getTemp</a> (void) const</td></tr>
<tr class="memdesc:a9860a511fce48ce377c734435fdfbc6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting.  <a href="classIRAirtonAc.html#a9860a511fce48ce377c734435fdfbc6c">More...</a><br /></td></tr>
<tr class="separator:a9860a511fce48ce377c734435fdfbc6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54e1e749b623b815049c01ca4b5ad260"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a54e1e749b623b815049c01ca4b5ad260">setFan</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:a54e1e749b623b815049c01ca4b5ad260"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan.  <a href="classIRAirtonAc.html#a54e1e749b623b815049c01ca4b5ad260">More...</a><br /></td></tr>
<tr class="separator:a54e1e749b623b815049c01ca4b5ad260"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc7b5e7f2e6af4ec49ce8a59e60db154"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#abc7b5e7f2e6af4ec49ce8a59e60db154">getFan</a> (void) const</td></tr>
<tr class="memdesc:abc7b5e7f2e6af4ec49ce8a59e60db154"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting.  <a href="classIRAirtonAc.html#abc7b5e7f2e6af4ec49ce8a59e60db154">More...</a><br /></td></tr>
<tr class="separator:abc7b5e7f2e6af4ec49ce8a59e60db154"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f42f766a3584b5b0d5669cf75f89211"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a9f42f766a3584b5b0d5669cf75f89211">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a9f42f766a3584b5b0d5669cf75f89211"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the desired operation mode.  <a href="classIRAirtonAc.html#a9f42f766a3584b5b0d5669cf75f89211">More...</a><br /></td></tr>
<tr class="separator:a9f42f766a3584b5b0d5669cf75f89211"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98c5e24de9b3a68a9c09127b2cce1c43"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a98c5e24de9b3a68a9c09127b2cce1c43">getMode</a> (void) const</td></tr>
<tr class="memdesc:a98c5e24de9b3a68a9c09127b2cce1c43"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current operation mode setting.  <a href="classIRAirtonAc.html#a98c5e24de9b3a68a9c09127b2cce1c43">More...</a><br /></td></tr>
<tr class="separator:a98c5e24de9b3a68a9c09127b2cce1c43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29908c7a517fc4c668b9e50d0cb61c48"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a29908c7a517fc4c668b9e50d0cb61c48">getRaw</a> (void)</td></tr>
<tr class="memdesc:a29908c7a517fc4c668b9e50d0cb61c48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the raw state of the object, suitable to be sent with the appropriate <a class="el" href="classIRsend.html" title="Class for sending all basic IR protocols.">IRsend</a> object method.  <a href="classIRAirtonAc.html#a29908c7a517fc4c668b9e50d0cb61c48">More...</a><br /></td></tr>
<tr class="separator:a29908c7a517fc4c668b9e50d0cb61c48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afadd706a02214c0300ce36ab5aec264f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#afadd706a02214c0300ce36ab5aec264f">setRaw</a> (const uint64_t data)</td></tr>
<tr class="memdesc:afadd706a02214c0300ce36ab5aec264f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the raw state of the object.  <a href="classIRAirtonAc.html#afadd706a02214c0300ce36ab5aec264f">More...</a><br /></td></tr>
<tr class="separator:afadd706a02214c0300ce36ab5aec264f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac53ebdf74f6568c7b1d66b31e4b44487"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#ac53ebdf74f6568c7b1d66b31e4b44487">setLight</a> (const bool <a class="el" href="classIRAirtonAc.html#a6c56f9a9b21c16f5b6e59836a626676c">on</a>)</td></tr>
<tr class="memdesc:ac53ebdf74f6568c7b1d66b31e4b44487"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Light/LED/Display setting of the A/C.  <a href="classIRAirtonAc.html#ac53ebdf74f6568c7b1d66b31e4b44487">More...</a><br /></td></tr>
<tr class="separator:ac53ebdf74f6568c7b1d66b31e4b44487"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dca068fd05ee32fbd2c7a796fe440c9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a2dca068fd05ee32fbd2c7a796fe440c9">getLight</a> (void) const</td></tr>
<tr class="memdesc:a2dca068fd05ee32fbd2c7a796fe440c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Light/LED/Display setting of the A/C.  <a href="classIRAirtonAc.html#a2dca068fd05ee32fbd2c7a796fe440c9">More...</a><br /></td></tr>
<tr class="separator:a2dca068fd05ee32fbd2c7a796fe440c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96faa6083d7b5ebe7c8789b661faf294"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a96faa6083d7b5ebe7c8789b661faf294">setEcono</a> (const bool <a class="el" href="classIRAirtonAc.html#a6c56f9a9b21c16f5b6e59836a626676c">on</a>)</td></tr>
<tr class="memdesc:a96faa6083d7b5ebe7c8789b661faf294"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Economy setting of the A/C.  <a href="classIRAirtonAc.html#a96faa6083d7b5ebe7c8789b661faf294">More...</a><br /></td></tr>
<tr class="separator:a96faa6083d7b5ebe7c8789b661faf294"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0bea40d3273372866ee7d6065b22cd2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#aa0bea40d3273372866ee7d6065b22cd2">getEcono</a> (void) const</td></tr>
<tr class="memdesc:aa0bea40d3273372866ee7d6065b22cd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Economy setting of the A/C.  <a href="classIRAirtonAc.html#aa0bea40d3273372866ee7d6065b22cd2">More...</a><br /></td></tr>
<tr class="separator:aa0bea40d3273372866ee7d6065b22cd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac839d39f38b707c90f83199496dc557e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#ac839d39f38b707c90f83199496dc557e">setTurbo</a> (const bool <a class="el" href="classIRAirtonAc.html#a6c56f9a9b21c16f5b6e59836a626676c">on</a>)</td></tr>
<tr class="memdesc:ac839d39f38b707c90f83199496dc557e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Turbo setting of the A/C.  <a href="classIRAirtonAc.html#ac839d39f38b707c90f83199496dc557e">More...</a><br /></td></tr>
<tr class="separator:ac839d39f38b707c90f83199496dc557e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fa6d2ceba9d4504a20aae1f28ba3193"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a5fa6d2ceba9d4504a20aae1f28ba3193">getTurbo</a> (void) const</td></tr>
<tr class="memdesc:a5fa6d2ceba9d4504a20aae1f28ba3193"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Turbo setting of the A/C.  <a href="classIRAirtonAc.html#a5fa6d2ceba9d4504a20aae1f28ba3193">More...</a><br /></td></tr>
<tr class="separator:a5fa6d2ceba9d4504a20aae1f28ba3193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a928678702e087e32e9aab8e9d1a1bfab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a928678702e087e32e9aab8e9d1a1bfab">setHealth</a> (const bool <a class="el" href="classIRAirtonAc.html#a6c56f9a9b21c16f5b6e59836a626676c">on</a>)</td></tr>
<tr class="memdesc:a928678702e087e32e9aab8e9d1a1bfab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Health/Filter setting of the A/C.  <a href="classIRAirtonAc.html#a928678702e087e32e9aab8e9d1a1bfab">More...</a><br /></td></tr>
<tr class="separator:a928678702e087e32e9aab8e9d1a1bfab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab29f7c346f6ee2f6b1fd45703692e810"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#ab29f7c346f6ee2f6b1fd45703692e810">getHealth</a> (void) const</td></tr>
<tr class="memdesc:ab29f7c346f6ee2f6b1fd45703692e810"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Health/Filter setting of the A/C.  <a href="classIRAirtonAc.html#ab29f7c346f6ee2f6b1fd45703692e810">More...</a><br /></td></tr>
<tr class="separator:ab29f7c346f6ee2f6b1fd45703692e810"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68645bff947d0d58e01b1279a8ba1cb7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a68645bff947d0d58e01b1279a8ba1cb7">setSleep</a> (const bool <a class="el" href="classIRAirtonAc.html#a6c56f9a9b21c16f5b6e59836a626676c">on</a>)</td></tr>
<tr class="memdesc:a68645bff947d0d58e01b1279a8ba1cb7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Sleep setting of the A/C.  <a href="classIRAirtonAc.html#a68645bff947d0d58e01b1279a8ba1cb7">More...</a><br /></td></tr>
<tr class="separator:a68645bff947d0d58e01b1279a8ba1cb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a680b9fcf553a0592b456090aca3f4d76"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a680b9fcf553a0592b456090aca3f4d76">getSleep</a> (void) const</td></tr>
<tr class="memdesc:a680b9fcf553a0592b456090aca3f4d76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Sleep setting of the A/C.  <a href="classIRAirtonAc.html#a680b9fcf553a0592b456090aca3f4d76">More...</a><br /></td></tr>
<tr class="separator:a680b9fcf553a0592b456090aca3f4d76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adde521a2a58aef520c5ab7941c4f6540"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#adde521a2a58aef520c5ab7941c4f6540">setSwingV</a> (const bool <a class="el" href="classIRAirtonAc.html#a6c56f9a9b21c16f5b6e59836a626676c">on</a>)</td></tr>
<tr class="memdesc:adde521a2a58aef520c5ab7941c4f6540"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Vertical Swing setting of the A/C.  <a href="classIRAirtonAc.html#adde521a2a58aef520c5ab7941c4f6540">More...</a><br /></td></tr>
<tr class="separator:adde521a2a58aef520c5ab7941c4f6540"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a626ea0e725cff3cbb7b96f1d65c35084"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a626ea0e725cff3cbb7b96f1d65c35084">getSwingV</a> (void) const</td></tr>
<tr class="memdesc:a626ea0e725cff3cbb7b96f1d65c35084"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Vertical Swing setting of the A/C.  <a href="classIRAirtonAc.html#a626ea0e725cff3cbb7b96f1d65c35084">More...</a><br /></td></tr>
<tr class="separator:a626ea0e725cff3cbb7b96f1d65c35084"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5868b6aad7538d0851ff3ca18079b88e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a5868b6aad7538d0851ff3ca18079b88e">toCommon</a> (void) const</td></tr>
<tr class="memdesc:a5868b6aad7538d0851ff3ca18079b88e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent.  <a href="classIRAirtonAc.html#a5868b6aad7538d0851ff3ca18079b88e">More...</a><br /></td></tr>
<tr class="separator:a5868b6aad7538d0851ff3ca18079b88e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae573c452daeacf08d7178cb4b6890cbd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#ae573c452daeacf08d7178cb4b6890cbd">toString</a> (void) const</td></tr>
<tr class="memdesc:ae573c452daeacf08d7178cb4b6890cbd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into a human readable string.  <a href="classIRAirtonAc.html#ae573c452daeacf08d7178cb4b6890cbd">More...</a><br /></td></tr>
<tr class="separator:ae573c452daeacf08d7178cb4b6890cbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a2de77d004fb86a27db9861df7c624197"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a2de77d004fb86a27db9861df7c624197">validChecksum</a> (const uint64_t data)</td></tr>
<tr class="memdesc:a2de77d004fb86a27db9861df7c624197"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify the checksum is valid for a given state.  <a href="classIRAirtonAc.html#a2de77d004fb86a27db9861df7c624197">More...</a><br /></td></tr>
<tr class="separator:a2de77d004fb86a27db9861df7c624197"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9707f71b93e2d4b21aaba2f88307bef"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#af9707f71b93e2d4b21aaba2f88307bef">calcChecksum</a> (const uint64_t data)</td></tr>
<tr class="memdesc:af9707f71b93e2d4b21aaba2f88307bef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the checksum for the supplied state.  <a href="classIRAirtonAc.html#af9707f71b93e2d4b21aaba2f88307bef">More...</a><br /></td></tr>
<tr class="separator:af9707f71b93e2d4b21aaba2f88307bef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9feab248ecbfb9064963f3a70a9f336a"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a9feab248ecbfb9064963f3a70a9f336a">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:a9feab248ecbfb9064963f3a70a9f336a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode.  <a href="classIRAirtonAc.html#a9feab248ecbfb9064963f3a70a9f336a">More...</a><br /></td></tr>
<tr class="separator:a9feab248ecbfb9064963f3a70a9f336a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21bacf36521565ae9e139421235d4a30"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a21bacf36521565ae9e139421235d4a30">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
<tr class="memdesc:a21bacf36521565ae9e139421235d4a30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed.  <a href="classIRAirtonAc.html#a21bacf36521565ae9e139421235d4a30">More...</a><br /></td></tr>
<tr class="separator:a21bacf36521565ae9e139421235d4a30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae02d61138494b72c3d539e973d3c34e"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#aae02d61138494b72c3d539e973d3c34e">convertSwingV</a> (const <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a> position)</td></tr>
<tr class="separator:aae02d61138494b72c3d539e973d3c34e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ff735df6865f1ba37309df32935750f"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a3ff735df6865f1ba37309df32935750f">toCommonMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a3ff735df6865f1ba37309df32935750f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRAirtonAc.html#a3ff735df6865f1ba37309df32935750f">More...</a><br /></td></tr>
<tr class="separator:a3ff735df6865f1ba37309df32935750f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04ea51d0f58fed581e802987da5faa65"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a04ea51d0f58fed581e802987da5faa65">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:a04ea51d0f58fed581e802987da5faa65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRAirtonAc.html#a04ea51d0f58fed581e802987da5faa65">More...</a><br /></td></tr>
<tr class="separator:a04ea51d0f58fed581e802987da5faa65"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a9ccb41a2d483c7b31e53c321cee4343f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a9ccb41a2d483c7b31e53c321cee4343f">checksum</a> (void)</td></tr>
<tr class="memdesc:a9ccb41a2d483c7b31e53c321cee4343f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the checksum value for the internal state.  <a href="classIRAirtonAc.html#a9ccb41a2d483c7b31e53c321cee4343f">More...</a><br /></td></tr>
<tr class="separator:a9ccb41a2d483c7b31e53c321cee4343f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ae4ceec08bcd20f587be899a1608832d3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIRsend.html">IRsend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#ae4ceec08bcd20f587be899a1608832d3">_irsend</a></td></tr>
<tr class="memdesc:ae4ceec08bcd20f587be899a1608832d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instance of the IR send class.  <a href="classIRAirtonAc.html#ae4ceec08bcd20f587be899a1608832d3">More...</a><br /></td></tr>
<tr class="separator:ae4ceec08bcd20f587be899a1608832d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1804688a4c0cb89fcf390ef607609339"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionAirtonProtocol.html">AirtonProtocol</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRAirtonAc.html#a1804688a4c0cb89fcf390ef607609339">_</a></td></tr>
<tr class="separator:a1804688a4c0cb89fcf390ef607609339"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for handling detailed Airton 56-bit A/C messages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ae18b6d0dbbc800ae7c6e840862da6997"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae18b6d0dbbc800ae7c6e840862da6997">&#9670;&nbsp;</a></span>IRAirtonAc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">IRAirtonAc::IRAirtonAc </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>pin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>inverted</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>use_modulation</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Class constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pin</td><td>GPIO to be used when sending. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">inverted</td><td>Is the output signal to be inverted? </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">use_modulation</td><td>Is frequency modulation to be used? </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af41739e2c3858eb7816ed1cb69756f67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af41739e2c3858eb7816ed1cb69756f67">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::begin </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set up hardware to be able to send a message. </p>

</div>
</div>
<a id="af9707f71b93e2d4b21aaba2f88307bef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9707f71b93e2d4b21aaba2f88307bef">&#9670;&nbsp;</a></span>calcChecksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRAirtonAc::calcChecksum </td>
          <td>(</td>
          <td class="paramtype">const uint64_t&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the checksum for the supplied state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The source state to generate the checksum from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The checksum value. </dd></dl>

</div>
</div>
<a id="ad66e28b40332cca757aecd471202c5fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad66e28b40332cca757aecd471202c5fd">&#9670;&nbsp;</a></span>calibrate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int8_t IRAirtonAc::calibrate </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Run the calibration to calculate uSec timing offsets for this platform. </p>
<dl class="section return"><dt>Returns</dt><dd>The uSec timing offset needed per modulation of the IR Led. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This will produce a 65ms IR signal pulse at 38kHz. Only ever needs to be run once per object instantiation, if at all. </dd></dl>

</div>
</div>
<a id="a9ccb41a2d483c7b31e53c321cee4343f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ccb41a2d483c7b31e53c321cee4343f">&#9670;&nbsp;</a></span>checksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::checksum </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update the checksum value for the internal state. </p>

</div>
</div>
<a id="a21bacf36521565ae9e139421235d4a30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21bacf36521565ae9e139421235d4a30">&#9670;&nbsp;</a></span>convertFan()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRAirtonAc::convertFan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="a9feab248ecbfb9064963f3a70a9f336a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9feab248ecbfb9064963f3a70a9f336a">&#9670;&nbsp;</a></span>convertMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRAirtonAc::convertMode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="aae02d61138494b72c3d539e973d3c34e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae02d61138494b72c3d539e973d3c34e">&#9670;&nbsp;</a></span>convertSwingV()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static uint8_t IRAirtonAc::convertSwingV </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#ac07f224c7bb47cac55dd01f24770ef43">stdAc::swingv_t</a>&#160;</td>
          <td class="paramname"><em>position</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aa0bea40d3273372866ee7d6065b22cd2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0bea40d3273372866ee7d6065b22cd2">&#9670;&nbsp;</a></span>getEcono()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRAirtonAc::getEcono </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Economy setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="abc7b5e7f2e6af4ec49ce8a59e60db154"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc7b5e7f2e6af4ec49ce8a59e60db154">&#9670;&nbsp;</a></span>getFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRAirtonAc::getFan </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current fan speed setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current fan speed. </dd></dl>

</div>
</div>
<a id="ab29f7c346f6ee2f6b1fd45703692e810"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab29f7c346f6ee2f6b1fd45703692e810">&#9670;&nbsp;</a></span>getHealth()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRAirtonAc::getHealth </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Health/Filter setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a2dca068fd05ee32fbd2c7a796fe440c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2dca068fd05ee32fbd2c7a796fe440c9">&#9670;&nbsp;</a></span>getLight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRAirtonAc::getLight </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Light/LED/Display setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a98c5e24de9b3a68a9c09127b2cce1c43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98c5e24de9b3a68a9c09127b2cce1c43">&#9670;&nbsp;</a></span>getMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRAirtonAc::getMode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current operation mode setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current operation mode. </dd></dl>

</div>
</div>
<a id="a9e356b2ae1f37630ba4372dc15308244"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e356b2ae1f37630ba4372dc15308244">&#9670;&nbsp;</a></span>getPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRAirtonAc::getPower </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the power setting from the internal state. </p>
<dl class="section return"><dt>Returns</dt><dd>A boolean indicating the power setting. </dd></dl>

</div>
</div>
<a id="a29908c7a517fc4c668b9e50d0cb61c48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29908c7a517fc4c668b9e50d0cb61c48">&#9670;&nbsp;</a></span>getRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint64_t IRAirtonAc::getRaw </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the raw state of the object, suitable to be sent with the appropriate <a class="el" href="classIRsend.html" title="Class for sending all basic IR protocols.">IRsend</a> object method. </p>
<dl class="section return"><dt>Returns</dt><dd>A copy to the internal state. </dd></dl>

</div>
</div>
<a id="a680b9fcf553a0592b456090aca3f4d76"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a680b9fcf553a0592b456090aca3f4d76">&#9670;&nbsp;</a></span>getSleep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRAirtonAc::getSleep </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Sleep setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a626ea0e725cff3cbb7b96f1d65c35084"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a626ea0e725cff3cbb7b96f1d65c35084">&#9670;&nbsp;</a></span>getSwingV()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRAirtonAc::getSwingV </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Vertical Swing setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a9860a511fce48ce377c734435fdfbc6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9860a511fce48ce377c734435fdfbc6c">&#9670;&nbsp;</a></span>getTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRAirtonAc::getTemp </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current temperature setting. </p>
<dl class="section return"><dt>Returns</dt><dd>Get current setting for temp. in degrees celsius. </dd></dl>

</div>
</div>
<a id="a5fa6d2ceba9d4504a20aae1f28ba3193"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5fa6d2ceba9d4504a20aae1f28ba3193">&#9670;&nbsp;</a></span>getTurbo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRAirtonAc::getTurbo </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Turbo setting of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>true, the setting is on. false, the setting is off. </dd></dl>

</div>
</div>
<a id="a4a723aa47afa0ee2159b2a54eb182259"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a723aa47afa0ee2159b2a54eb182259">&#9670;&nbsp;</a></span>off()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::off </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the internal state to have the power off. </p>

</div>
</div>
<a id="a6c56f9a9b21c16f5b6e59836a626676c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c56f9a9b21c16f5b6e59836a626676c">&#9670;&nbsp;</a></span>on()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::on </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the internal state to have the power on. </p>

</div>
</div>
<a id="aaa3029fd8291df45bc56c5b51b53ed83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa3029fd8291df45bc56c5b51b53ed83">&#9670;&nbsp;</a></span>send()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::send </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>repeat</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a1b8ca81fc8970bd3263eda3fb332c152">kAirtonDefaultRepeat</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Send the current internal state as an IR message. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">repeat</td><td>Nr. of times the message will be repeated. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a96faa6083d7b5ebe7c8789b661faf294"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96faa6083d7b5ebe7c8789b661faf294">&#9670;&nbsp;</a></span>setEcono()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::setEcono </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Economy setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Only available in Cool mode. </dd></dl>

</div>
</div>
<a id="a54e1e749b623b815049c01ca4b5ad260"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54e1e749b623b815049c01ca4b5ad260">&#9670;&nbsp;</a></span>setFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::setFan </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the speed of the fan. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The desired setting. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a928678702e087e32e9aab8e9d1a1bfab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a928678702e087e32e9aab8e9d1a1bfab">&#9670;&nbsp;</a></span>setHealth()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::setHealth </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Health/Filter setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac53ebdf74f6568c7b1d66b31e4b44487"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac53ebdf74f6568c7b1d66b31e4b44487">&#9670;&nbsp;</a></span>setLight()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::setLight </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Light/LED/Display setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9f42f766a3584b5b0d5669cf75f89211"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f42f766a3584b5b0d5669cf75f89211">&#9670;&nbsp;</a></span>setMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::setMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the desired operation mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The desired operation mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1fd0cff12f8169bd2785ea84fa4af969"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1fd0cff12f8169bd2785ea84fa4af969">&#9670;&nbsp;</a></span>setPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::setPower </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the internal state to have the desired power. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>The desired power state. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afadd706a02214c0300ce36ab5aec264f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afadd706a02214c0300ce36ab5aec264f">&#9670;&nbsp;</a></span>setRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::setRaw </td>
          <td>(</td>
          <td class="paramtype">const uint64_t&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the raw state of the object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The raw state from the native IR message. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a68645bff947d0d58e01b1279a8ba1cb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68645bff947d0d58e01b1279a8ba1cb7">&#9670;&nbsp;</a></span>setSleep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::setSleep </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Sleep setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>Sleep not available in fan or auto mode. </dd></dl>

</div>
</div>
<a id="adde521a2a58aef520c5ab7941c4f6540"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adde521a2a58aef520c5ab7941c4f6540">&#9670;&nbsp;</a></span>setSwingV()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::setSwingV </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Vertical Swing setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a18a4f1240d74614d9773069530f59bdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18a4f1240d74614d9773069530f59bdc">&#9670;&nbsp;</a></span>setTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::setTemp </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>degrees</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the temperature. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">degrees</td><td>The temperature in degrees celsius. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ac839d39f38b707c90f83199496dc557e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac839d39f38b707c90f83199496dc557e">&#9670;&nbsp;</a></span>setTurbo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::setTurbo </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Turbo setting of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>true, the setting is on. false, the setting is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9c9b9266de7f175acef0b1855d81a890"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c9b9266de7f175acef0b1855d81a890">&#9670;&nbsp;</a></span>stateReset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRAirtonAc::stateReset </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset the internals of the object to a known good state. </p>

</div>
</div>
<a id="a5868b6aad7538d0851ff3ca18079b88e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5868b6aad7538d0851ff3ca18079b88e">&#9670;&nbsp;</a></span>toCommon()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> IRAirtonAc::toCommon </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent. </p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native settings. </dd></dl>

</div>
</div>
<a id="a04ea51d0f58fed581e802987da5faa65"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04ea51d0f58fed581e802987da5faa65">&#9670;&nbsp;</a></span>toCommonFanSpeed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> IRAirtonAc::toCommonFanSpeed </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="a3ff735df6865f1ba37309df32935750f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ff735df6865f1ba37309df32935750f">&#9670;&nbsp;</a></span>toCommonMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> IRAirtonAc::toCommonMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="ae573c452daeacf08d7178cb4b6890cbd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae573c452daeacf08d7178cb4b6890cbd">&#9670;&nbsp;</a></span>toString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a> IRAirtonAc::toString </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into a human readable string. </p>
<dl class="section return"><dt>Returns</dt><dd>A human readable string. </dd></dl>

</div>
</div>
<a id="a2de77d004fb86a27db9861df7c624197"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2de77d004fb86a27db9861df7c624197">&#9670;&nbsp;</a></span>validChecksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool IRAirtonAc::validChecksum </td>
          <td>(</td>
          <td class="paramtype">const uint64_t&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Verify the checksum is valid for a given state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The value to verify the checksum of. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A boolean indicating if it's checksum is valid. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a1804688a4c0cb89fcf390ef607609339"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1804688a4c0cb89fcf390ef607609339">&#9670;&nbsp;</a></span>_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="unionAirtonProtocol.html">AirtonProtocol</a> IRAirtonAc::_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ae4ceec08bcd20f587be899a1608832d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4ceec08bcd20f587be899a1608832d3">&#9670;&nbsp;</a></span>_irsend</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classIRsend.html">IRsend</a> IRAirtonAc::_irsend</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Instance of the IR send class. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Airton_8h_source.html">ir_Airton.h</a></li>
<li>src/<a class="el" href="ir__Airton_8cpp.html">ir_Airton.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
